package com.cattle.mockito.service;

import com.cattle.mockito.dao.StudentDao;
import com.cattle.mockito.domain.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author by XXX
 * @descriptaion #
 * @date 2020/6/11
 */
@Service
public class StudentService {

    @Autowired
    StudentDao studentDao;

    public Student getStudentById(int id) {
        return studentDao.getStudentById(id);
    }

}
